package service.Impl;

import Dao.EmpDao;
import Dao.Impl.EmoDaoImpl;
import bean.Emp;
import service.EmpService;

import java.util.List;

public class EmpServiceImpl implements EmpService {
    EmpDao dao = new EmoDaoImpl();

    /**
     * 获取员工所有信息方法
     * @return
     */
    @Override
    public List<Emp> getAllEmp() {
        List<Emp> empList = dao.getAllEmp();
        return empList;
    }

    @Override
    public void addEmp(Emp emp) {

    }

    @Override
    public void delEmp(int id) {

    }

    @Override
    public void upData(int id) {

    }

    @Override
    public List<Emp> selectEmp(String city) {
        return null;
    }
}
